<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Yolo Admin</title>
    <link rel="stylesheet" type="text/css" href="/css/common.css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    <script> var yoloXsrfToken = '{{.XsrfToken}}'; </script>
    <script src="/scripts/yolo.js" type="text/javascript"></script>
  </head>
<body style="font-size:12px">

<h1>Yolo Admin - Issue</h1>

<a href="/admin">Admin top</a>

<p>
<b>Issue <a href="{{.IssueURL}}">{{.SiteURL}}/{{.IssueId}}</a></b>: {{.Subject}} (closed: {{.Closed}})
<ul>
	<li><b>Owner:</b> <a href="/admin/user?email={{.OwnerEmail}}">{{.OwnerEmail}}</a>
	<li><b>Subject:</b> {{.Subject}}
	<li><b>Created:</b> {{date .Created}}
	<li><b>Modified:</b> {{date .Modified}}
	<li><b>Reviewers:</b>
	{{range .Reviewers}}{{.}}, {{end}}  {{/* should trim the last comma */}}
	<li><b>Cc:</b>
	{{range .Cc}}{{.}}{{end}}  {{/* ditto */}}
	<li><b>Bugs:</b>
	{{range .Bugs}}{{.}}{{end}} {{/* ditto */}}
	<li><b>Files:</b>
	<ul>
		{{range .Files}}<li>{.}{{end}}
</ul>
	<li><b>Commit:</b> {{.Commit}}
	<li><b>Description:</b>
	<div style="border: solid 1px gray; margin: 3px; padding: 3px">
		{{lines .FullDescription}}
	</div>
</ul>
</p>

  <script src="/scripts/yolo-admin.js" type="text/javascript"></script>
</body>
</html>
